﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AssetManagementSystem.Model {
    public class Group {

        public const string ALL = "ALL GROUPS";

        string name;
        string description;
        List<string> properties;

        public Group(string name, string description, List<string> properties) {
            this.name = name;
            this.description = description;
            this.properties = properties;
        }

        public string Name {
            get { return name; }
        }

        public string Description {
            get { return description; }
            set { this.description = value; }
        }

        public List<string> Properties {
            get { return properties; }
            set { this.properties = value; }
        }

        public override string ToString() {
            return name + " " + description;
        }
    }
}
